/*
 ------------------------------------------------------------------------------
 Copyright (C) 2009-2011 Eternal Games.

 This file is part of the Eternal Tech source code.

 The Eternal Tech source code is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or (at your
 option) any later version.

 The Eternal Tech source code is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 more details.

 You should have received a copy of the GNU General Public License along with
 the Eternal Tech source code; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 ------------------------------------------------------------------------------
*/


//
// g_main.cpp - Initializes the game module
//


#include "g_local2.h"
#include "g_local.h"


cvar_t						*g_debugSpawnMonsters;
cvar_t						*g_debugSpawnedMonsters;


/*
 ==============================================================================

    FRAMEWORK

 ==============================================================================
*/


void G_Framework ()
{
}


/*
 ==============================================================================

    INITIALIZATION AND SHUTDOWN

 ==============================================================================
*/


/*
 ==================
 G_Init
 ==================
*/
void G_Init ()
{
	// Register variables
	g_debugSpawnMonsters = gi.CVar_Register("g_debugSpawnMonsters", "1", CVAR_BOOL, CVAR_CHEAT, "Spawn monsters", 0, 0);
	g_debugSpawnedMonsters = gi.CVar_Register("g_debugSpawnedMonsters", "10", CVAR_INTEGER, CVAR_CHEAT, "Number of monsters to spawn", 0, 25);
}

void G_Shutdown ()
{
}